<?php $this->beginContent('/layouts/main'); ?>
<div id="content">
<?php echo $content; ?>
</div>
<div id="news">
	<?php 
		if(!Yii::app()->user->isGuest){
			$this->beginWidget('zii.widgets.CPortlet', array(
				'title'=>'Действия',
			));
			$this->widget('zii.widgets.CMenu', array(
				'items'=>$this->menu,
				'htmlOptions'=>array('class'=>'operations'),
			));
			$this->endWidget();
		}
	?>
	<?php 
		/*$this->widget('HistorySidebar', array(
			'maxComments'=>Yii::app()->params['history'],
		)); */
	?>
    <?php 
    	/*$this->widget('BannerWidget', array(
			'position'=>'right',
			'width'=>'300',
	    	'htmlOptions'=>array('class'=>'lil-banner'),
		));*/ 
	?> 
</div>
       
<?php $this->endContent(); ?>